package com.yhhvip.order.dao;
import com.yhhvip.order.entity.UserKeys;
import com.yhhvip.order.entity.WstLogMoneys;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;


@Repository
public interface WstLogMoneysDao extends JpaRepository<WstLogMoneys,Integer>,JpaSpecificationExecutor<WstLogMoneys> {

    @Query(value = "select wstLogMoneys from WstLogMoneys wstLogMoneys where wstLogMoneys.ordersId=?1")
    WstLogMoneys wstLogMoneysByordersId(String ordersId);


}
